package com.ehaoyao.disruptor.factory;

import com.ehaoyao.entity.LongEvent;
import com.lmax.disruptor.EventFactory;

/**
 * <dl>
 * <dt>LongEventFactory</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2006</dd>
 * <dd>CreateDate: 2020/6/13</dd>
 * </dl>
 *
 * @author zhangyp
 */
public class LongEventFactory implements EventFactory<LongEvent> {

    public LongEvent newInstance(){
        return new LongEvent();
    }
}
